package com.ziqikeji.simplemvc.system.dto;

import java.util.Map;

/**
 * 网络请求
 * @author dpf
 */
public class Request {
    private String url;
    private Map<String, String> params;

    public Request(String url) {
        this.url = url;
    }

    public Request(String url, Map<String, String> params) {
        this.url = url;
        this.params = params;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Map<String, String> getParams() {
        return params;
    }

    public void setParams(Map<String, String> params) {
        this.params = params;
    }
}
